//Khan
package ModelLayer;

public class Supplier 
{
	private int suppId;
	private String name;
	private String country;
	private String address;
	private String phoneNo;
	private String email;
	
	//empty constructor
	public Supplier()
	{}
	
	//constructor with id in it
	public Supplier(int newSuppId)
	{
		this.suppId=newSuppId;
	}
	
	public Supplier(int newSuppId, String newName, String newCountry, String newAddress, String newPhoneNo, String newEmail)
	{
		this.address=newAddress;
		this.country=newCountry;
		this.email=newEmail;
		this.name=newName;
		this.phoneNo=newPhoneNo;
		this.suppId=newSuppId;
	}

	public void setId(int id)
	{
		this.suppId=id;
	}
	public int getId()
	{
		return suppId;
	}
	
	public void setName(String name)
	{
		this.name=name;
	}	
	public String getName()
	{
		return name;
	}
	
	public void setCountry(String country)
	{
		this.country=country;
	}	
	public String getCountry()
	{
		return country;
	}
	
	public void setAddress(String address)
	{
		this.address=address;
	}
	public String getAddress()
	{
		return address;
	}
	
	public void setPhoneNo(String phoneNo)
	{
		this.phoneNo=phoneNo;
	}
	public String getPhoneNo()
	{
		return phoneNo;
	}
	
	public void setEmail(String email)
	{
		this.email=email;
	}
	public String getEmail()
	{
		return email;
	}
}
